package com.stox.core.ui.swing.view;

import java.awt.Dimension;

import com.stox.core.ui.swing.widget.MainFrame;

public class ExchangeConfigurationPresenter {

	public void present(ExchangeConfigurationView view){
		if(view != null){
			MainFrame.getInstance().getDesktop().addView(view);
			Dimension d = view.getParent().getSize();
			view.setSize(new Dimension(d.width/3,d.height/4));
			view.show();
		}
	}
	
}
